package com.ban.dao;

import org.apache.ibatis.annotations.Select;

/**
 * @author ban
 * @date 2021/1/31 - 15:22
 */

public interface StudentDao {

    /**
     * 根据 id查询 学生
     * @param id
     * @return
     */
    @Select("select * from javaee2009.student where id = #{id}")
    Student findStudentById(int id);
}
